package com.woniuxy.mini.service;

import com.woniuxy.mini.entity.Shop;
import com.woniuxy.mini.mapper.ShopMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xgy
 * @since 2025-01-06
 */
@Service
@Mapper
public class ShopService extends ServiceImpl<ShopMapper, Shop> {

    @Autowired
    private ShopMapper shopMapper;

    public List<Shop> queryAll(){
        return shopMapper.queryAll();
    }

}
